﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dbPoll_Application.Models.ChangePasswordModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Change Password
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="../../Scripts/Account-ChangePassword.js" type="text/javascript"></script>
    <div class="pageHeadingContainer"><h2 class="pageHeading">Change Password</h2></div>
    <div id="contentContainer">
    <p><%= Html.ActionLink("My Account > ", "MyAccount", "Account", null, new { @class = "breadcrumb" })%>Change Password</p>
    <% Html.EnableClientValidation(); %>
    <% using (Ajax.BeginForm("ChangePassword", new AjaxOptions() { UpdateTargetId = "changePasswordContainer", OnSuccess = "changePasswordComplete", OnBegin = "changePasswordStart" }))
       { %>
    <div id="changePasswordContainer">
        <% Html.RenderPartial("ChangePasswordContainer", Model); %>
    </div>
    <% } %>
    </div>

</asp:Content>
